import axios from "@/plugins/axios";
const { http } = axios;

// 1.订单列表
export const orderList = {
    post: params => http.post("/order/list", params)
};
// 2.订单详情
export const orderDetail = {
    post: params => http.post("/order/detail", params)
};
// 3.添加订单
export const orderAdd = {
    post: params => http.post("/order/add", params)
};
// 4.修改订单
export const orderMod = {
    post: params => http.post("/order/mod", params)
};
// 5.删除订单
export const orderDel = {
    post: params => http.post("/order/del", params)
};
// 6.转账
export const orderTransfer = {
    post: params => http.post("/order/transfer", params)
};
// 7.批量转账
export const orderTransferBatch = {
    post: params => http.post("/order/transfer/batch", params)
};
// 8.批量添加订单 (上传)
export const orderAddBatch = {
    post: params => http.post("/order/add/batch", params)
};
// 9.批量添加订单
export const orderAmount = {
    post: params => http.post("/order/amount", params)
};

// 10.转账异常详情
export const orderReason = {
    post: params => http.post("/order/reason", params)
};
